package cn.wl.crm.service.impl;

import cn.wl.basic.service.impl.BaseServiceImpl;
import cn.wl.crm.domain.Employee;
import cn.wl.crm.mapper.EmployeeMapper;
import cn.wl.crm.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;


    @Override
    public Employee getByUsername(String name) {
        return employeeMapper.getByUsername(name);
    }
}
